import {defineStore} from "pinia";
import {ref} from 'vue'

const userStore = defineStore('user', () => {
    const userInfo = ref({})
    const setUserInfo = (data) => {
        userInfo.value = data
    }

    return {userInfo, setUserInfo}
})

export default userStore